<?php

// Composer: "fzaninotto/faker": "v1.3.0"
use Faker\Factory as Faker;

class AppointTableSeeder extends Seeder {

	public function run()
	{
		$faker = Faker::create();

		foreach(range(1, 15) as $index)
		{
			Appoint::create([
                'title'   => $faker->sentence($nbWords = 3),
                'start'    => rand(1417363200,1419955200),
                'customer_id'    => rand(1,15),
                'remark' => $faker->randomNumber(3),
                'reback' => '',
			]);
		}
	}

}